package com.zyx.file;

import java.io.File;

public class TestMyFile {
    public static void main(String[] args) {
        File file = new File("F:\\项目组\\javaWeb\\day1023");
        String[] fileList=file.list(new MyFile());
        for (String sf:fileList) {
            System.out.println(sf);
        }
    }
}
